import request from '@/utils/request'

// 查询公寓规则对照列表
export function listTbapartrulesref(query) {
  return request({
    url: '/apartment/tbapartrulesref/list',
    method: 'get',
    params: query
  })
}

// 查询公寓规则对照详细
export function getTbapartrulesref(id) {
  return request({
    url: '/apartment/tbapartrulesref/' + id,
    method: 'get'
  })
}

// 新增公寓规则对照
export function addTbapartrulesref(data) {
  return request({
    url: '/apartment/tbapartrulesref',
    method: 'post',
    data: data
  })
}

// 修改公寓规则对照
export function updateTbapartrulesref(data) {
  return request({
    url: '/apartment/tbapartrulesref',
    method: 'put',
    data: data
  })
}

// 删除公寓规则对照
export function delTbapartrulesref(id) {
  return request({
    url: '/apartment/tbapartrulesref/' + id,
    method: 'delete'
  })
}
